<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>NETCONF Development Toolkit</title>
     <meta http-equiv="Pragma" content="no-cache" />
     <meta http-equiv="Cache-Control" content="no-cache" />
     <meta http-equiv="Expires" content="0" />
	 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
     <link rel="stylesheet" type="text/css" href="../css/adminIndex.css"  />
    <script type="text/javascript"  src="<%=basePath%>jstree-v.pre1.0/_lib/jquery.js"></script>
  </head>

<body>
<script type="text/javascript">
function adminIndex_Layout(){
	var screenwidth, screenheight, mytop, getPosLeft, getPosTop          
	screenwidth    = $(window).width();          
	screenheight   = $(window).height(); 
	$(".headRight").css("width",screenwidth - $(".headLeft").width() -20);
	$(".leftContainer").css("height",screenheight - $(".adminHead").height() - $(".contactContainer").height()-20);
	$(".rightContainer").css("height",screenheight - $(".adminHead").height()- $(".contactContainer").height()-20);
}
$(document).ready(function () {
	adminIndex_Layout();
});
$(window).resize(function(){
    adminIndex_Layout();
});

 function opensrc(src){
     document.getElementById("ContentIframe").src=encodeURI(src);//兼容 ie Firefox
 }

</script>
<div class="adminHead">
  <div class="headLeft">
  	 <div class="logDiv">
  	 	<img  src="../images/log_3.png" width="300" height="50" />
  	 </div>
  </div>
  <div class="headRight">
  	  <div class="welcomeBar"> 
  	    	&nbsp;&nbsp;&nbsp;<span style="color:red;">******</span>你好！
        	<span style="color:#060; font-weight:bold">欢迎登录!</span>
      </div><br/>
      <div class="navigateBar">
	      <a href="<%=basePath %>GoToIndexServlet">返回首页</a> &nbsp;
	      <a href="<%=basePath %>login.jsp?op=loginOut">注销</a>&nbsp;&nbsp;&nbsp;&nbsp;
      </div>
  </div>
  <div style="clear:both;"></div>
</div>
<div class="aMainContainer">
   	   <div class="leftContainer" >
       <!-- ********************************LeftContainer Begin *************************************** -->
        <div class="navContainer">
   		 <ul>
            <li><img src="../images/operations.jpg" width="25"  /><a target="ContentIframe" href="<%=basePath %>OperationManageServlet" >系统操作</a></li>
            <li><img src="../images/operations.jpg" width="25"  /><a target="ContentIframe" href="<%=basePath %>RoleManagerServlet">系统角色</a></li>
            <li><img src="../images/operations.jpg" width="25"  /><a target="ContentIframe" href="<%=basePath %>MemberManagerServlet">系统用户</a></li>
            <li><img src="../images/operations.jpg" width="25"  /><a target="ContentIframe" href="<%=basePath %>DefaultSignMemberManagerServlet">默认会签人员管理</a></li>
            <li><img src="../images/operations.jpg" width="25"  /><a target="ContentIframe" href="<%=basePath %>FilesManagerServlet">已归档文档管理</a></li>
            <li><img src="../images/operations.jpg" width="25"  /><a target="ContentIframe" href="<%=basePath %>PublicFileManagerServlet">公开文档管理</a></li>
         </ul>
         </div>
       <!-- ********************************LeftContainer End   *************************************** -->
       </div>
       <div class="rightContainer">
       <!-- ********************************RightContainer Begin *************************************** -->
       <iframe width="100%" id="ContentIframe" name="ContentIframe"  height=100% border="0" frameborder="0" src="<%=basePath%>Welcome.jsp"  ></iframe>
       <!-- ********************************RightContainer End   *************************************** -->
       </div>
       <div style="clear:both;"></div>
       <div class="contactContainer" >###</div>
   </div>
</body>
</html>
